package com.wanxi.step07test.util;

import jdk.internal.org.objectweb.asm.tree.analysis.Value;

public class Tool {
    public static Integer nullToPage(Integer value){
        return value == null ? 1 : value;
    }

    public static Integer nullToLimit(Integer value){
        return value == null ? 10 : value;
    }
}
